From 32bc7ce9878d4d9ce08ff296e5a14456c197811a Mon Sep 17 00:00:00 2001 From: "Michael J. Baars" Date: Tue, 21 Feb 2023 13:28:15 +0100 Subject: [PATCH] removed duplicate function call --- gtk/deprecated/gtkcellareabox.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gtk/deprecated/gtkcellareabox.c b/gtk/deprecated/gtkcellareabox.c index 2808184b5a..26083a6226 100644 --- a/gtk/deprecated/gtkcellareabox.c +++ b/gtk/deprecated/gtkcellareabox.c @@ -995,10 +995,11 @@ gtk_cell_area_box_focus_changed (GtkCellArea *area, GParamSpec *pspec, GtkCellAreaBox *box) { - GtkCellAreaBoxPrivate *priv = gtk_cell_area_box_get_instance_private (box); + GtkCellAreaBoxPrivate *priv = gtk_cell_area_box_get_instance_private (box); + GtkCellRenderer *focus_cell = gtk_cell_area_get_focus_cell (area); - if (gtk_cell_area_get_focus_cell (area)) - priv->last_focus_cell = gtk_cell_area_get_focus_cell (area); + if (focus_cell) + priv->last_focus_cell = focus_cell; } /************************************************************* -- 2.30.2